package ntue.dtd;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.VideoView;

public class Video_page extends Activity {
	
	private VideoView mVideoView01;
	private Button mButton01;
	
	String strPath = "";
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);		
		setContentView(R.layout.video);
		
		
		mButton01 = (Button)findViewById(R.id.button6);
		mVideoView01 = (VideoView)findViewById(R.id.VideoView01);
		
		
		strPath = "http://120.127.14.39:8080/share/test01.3gp";
		
		mVideoView01.setVideoURI(Uri.parse(strPath));
				
		
		mVideoView01.requestFocus();
		mVideoView01.start();
	}	
	private void okClick(View v){
		
		
	}
	
	

}